package com.nanako.wanxinp2p.account.mapper;

import com.nanako.wanxinp2p.account.entity.Account;
import org.apache.ibatis.annotations.Param;

public interface AccountMapper {
    Account getByPhone(@Param("mobile") String mobile);

    void register(Account account);

    Account selectOne(@Param("username") String username);

    Account selectByMobile(@Param("mobile") String mobile);

    void deleteByMobile(@Param("mobile") String mobile);
}
